#include <LPC22xx.h>
#include "Heater.h"

// heater is connected to P0.7
#define HEATER 0x00000080

void Heater::Init()
{
	FIO0DIR |= HEATER;
	Reset();
}

void Heater::Set()
{
	FIO0SET = HEATER;
}

void Heater::Reset()
{
	FIO0CLR = HEATER;
}
